home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / lib / profile.h < prev    next >
C/C++ Source or Header  |  1994-02-01  |  834b  |  40 lines

  1.  
  2. /*
  3.  * $VER: lib/profile.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  6.  *
  7.  *  note: machine structure, fixed length
  8.  */
  9.  
  10. #ifndef LIB_PROFILE_H
  11. #define LIB_PROFILE_H
  12.  
  13. #define PROF_MAGIC  0x22AA
  14.  
  15. typedef struct ProfHdr {
  16.     short   ph_Magic;
  17.     unsigned short ph_NumIds;
  18.     long    ph_Reserved;
  19.     long    ph_TimeBase;
  20. } ProfHdr;
  21.  
  22. typedef struct ProfSym {
  23.     struct ProfSym *ps_Link;    /*  hash link        */
  24.     struct ProfSym *ps_SibLink; /*  different parents    */
  25.     struct ProfSym *ps_Parent;    /*  parent        */
  26.     unsigned short   ps_Size;
  27.     unsigned short   ps_Id;
  28.     long    ps_TimeStamp;
  29.     long    ps_AccumTime;
  30.     long    ps_TotalTime;
  31.     long    ps_NumCalls;
  32.     void    *ps_BegId;
  33.     void    *ps_EndId;
  34.     char    ps_FuncName[4];    /*  extended structure    */
  35. } ProfSym;
  36.  
  37.  
  38. #endif
  39.  
  40.